package com.ny.zmb.glxt.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@TableName("pm_category")
@Data
@AllArgsConstructor
public class PmCategory {
    @TableId(type = IdType.AUTO)
    private int id;
    private int pid;
    private String type;
    private String name;
    private String nickname;
//    private String flag;
//    private String image;
    //    private String keywords;
//    private String description;
    private String diyname;
    //    private int createtime;
//    private int updatetime;
    private int weigh;
    private String status;
    @TableField("mccCd")
    private String mccCd;

    public PmCategory() {
        this.type = "store";
        this.weigh = 999;
        this.status = "normal";
    }
}
